Fourier Series Expansion For Periodic Waveforms